package com.examination.client.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.examination.client.domian.dto.MenuSearchDTO;
import com.examination.client.entity.SystemUserPermission;
import com.examination.client.entity.MenuInfo;

import java.util.List;

/**
 * <p>
 * 用户菜单 Mapper 接口
 * </p>
 *
 * @author xiaoding
 * @since 2021-02-15
 */
public interface UserMenuMapper extends BaseMapper<MenuInfo> {

    List<MenuSearchDTO> selectMenuByUser(MenuSearchDTO menuSearchDTO);

    int insertMenuByUser(SystemUserPermission systemUserPermission);

}
